﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="contextPath" value="<%=getServletContext().getContextPath()%>" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>MCE|Message from system</title>
    <link rel="stylesheet" href="${contextPath }/resources/css/mce.css"></link>
    <link rel="stylesheet" href="${contextPath }/resources/css/size.css" ></link>
    <link rel="stylesheet" href="${contextPath }/resources/css/jquery-ui.css" ></link>
    <link href='http://fonts.googleapis.com/css?family=Lato:400,300,700,400italic' rel='stylesheet' type='text/css' ></link>
    <script type="text/javascript" src="${contextPath }/resources/js/jquery/jquery-1.10.1.js"></script>
    <script type="text/javascript" src="${contextPath }/resources/js/jquery-ui/jquery-ui.js"></script>
    <script type="text/javascript" src="${contextPath }/resources/js/validation/validation.js"></script>
</head>
<body>
    <div class="mceContainer">
        <!--HOME BANNER CONTAINER-->
        <div class="afterHeaderContainer">
            <!--NAVIGATION MENU-->
            <div class="navigationContainer">
                <table class="menuItemContainer">
                    <tr>
                        <!--MCE WEBSITE LINK-->
                        <td class="wd_90">
                            <a class="mceinc" target="_blank" href="http://www.mceinc.com">
                                <img src="${contextPath}/resources/images/element.png" />
                            </a>
                        </td>
                        <!--/MCE WEBSITE LINK-->
                        
                        <!--MCE WEBSITE LINK-->
                        <td class="logo">
                            <a target="_blank" href="http://www.mceinc.com">
                                <img src="${contextPath}/resources/images/MCE-Mainsite-Icon.png" />
                            </a>
                        </td>
                        <!--/MCE WEBSITE LINK-->
                    </tr>
                </table>
            </div>
            <!--/NAVIGATION MENU-->
        </div>
        <!--/HOME BANNER CONTAINER-->
        <!--MAIN CONTAINER-->
        <div class="mainContainer">
            <table class="wrapContainer">
                <tr>
                    <td class="left">
                        <!--LEFT CONTAINER-->
                        <div class="wrapDataContainer borderRight">
                            <p class="subject">${sapMessageModel.titleLeft}</p>
                        </div>
                        <!--/LEFT CONTAINER-->
                    </td>
                    <td>
                        <!--BODY CONTAINER-->
                        <div class="wrapDataContainer">
                            <form action="Home.html" method="get">
                                <!--MESSAGE-->
                                <div class="wrap-item-container wd_445">
                                    <h1 style="font-weight: 300; font-size:35px; text-align: center;">${sapMessageModel.message}</h1>
                                </div>
                                
                                <!--/MESSAGE-->                                
                                <div class="wrap-item-container wd_445">
	                                <div class="buttonContainer">
	                                   	<c:url value="${sapMessageModel.backButtonLink}" var="login"/>
										<a  href="<c:out value='${ contextPath}/${login}'/>" style="float:none;" class="mce back">${sapMessageModel.backButtonText}</a>
	                              	</div>                                    
                                </div>      
                            </form>

                        </div>
                        <!--/BODY CONTAINER-->
                    </td>
                    <td class="right">
                        <%@include file="right-include/right.jsp" %>
                    </td>
                </tr>
            </table>
        </div>
        <!--/MAIN CONTAINER-->
        <!--FOOTER CONTAINER-->
        <div class="footerContainer">
            <img src="${contextPath}/resources/images/Nidec.jpg" />
            <img src="${contextPath}/resources/images/MCE.jpg" />
            <div class="clearBoth" />
            <p class="copyRight">Copyright 2014 Motion Control Engineering. All Rights Reserved</p>
        </div>
        <!--/FOOTER CONTAINER-->
    </div>

</body>
</html>
